# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'tcp_tab.ui'
#
# Created: Fri Aug 31 14:49:09 2012
#      by: PyQt4 UI code generator 4.9
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_tcptab(object):
    def setupUi(self, tcptab):
        tcptab.setObjectName(_fromUtf8("tcptab"))
        tcptab.resize(494, 560)
        self.gridLayout = QtGui.QGridLayout(tcptab)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.btn_new = QtGui.QPushButton(tcptab)
        self.btn_new.setMaximumSize(QtCore.QSize(80, 16777215))
        self.btn_new.setObjectName(_fromUtf8("btn_new"))
        self.gridLayout.addWidget(self.btn_new, 0, 5, 1, 1)
        self.btn_send = QtGui.QPushButton(tcptab)
        self.btn_send.setObjectName(_fromUtf8("btn_send"))
        self.gridLayout.addWidget(self.btn_send, 4, 5, 1, 1)
        self.btn_connect = QtGui.QPushButton(tcptab)
        self.btn_connect.setObjectName(_fromUtf8("btn_connect"))
        self.gridLayout.addWidget(self.btn_connect, 2, 5, 1, 1)
        self.edit_send = QtGui.QTextEdit(tcptab)
        self.edit_send.setMaximumSize(QtCore.QSize(16777215, 205))
        self.edit_send.setObjectName(_fromUtf8("edit_send"))
        self.gridLayout.addWidget(self.edit_send, 3, 0, 1, 6)
        self.edit_recv = QtGui.QTextEdit(tcptab)
        self.edit_recv.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.edit_recv.setReadOnly(True)
        self.edit_recv.setObjectName(_fromUtf8("edit_recv"))
        self.gridLayout.addWidget(self.edit_recv, 1, 0, 1, 6)
        self.btn_giveup = QtGui.QPushButton(tcptab)
        self.btn_giveup.setObjectName(_fromUtf8("btn_giveup"))
        self.gridLayout.addWidget(self.btn_giveup, 4, 4, 1, 1)
        self.btn_follow = QtGui.QPushButton(tcptab)
        self.btn_follow.setObjectName(_fromUtf8("btn_follow"))
        self.gridLayout.addWidget(self.btn_follow, 4, 2, 1, 1)
        self.btn_add = QtGui.QPushButton(tcptab)
        self.btn_add.setObjectName(_fromUtf8("btn_add"))
        self.gridLayout.addWidget(self.btn_add, 4, 1, 1, 1)
        self.btn_check = QtGui.QPushButton(tcptab)
        self.btn_check.setObjectName(_fromUtf8("btn_check"))
        self.gridLayout.addWidget(self.btn_check, 4, 3, 1, 1)
        self.edit_connect = QtGui.QTextEdit(tcptab)
        self.edit_connect.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.edit_connect.setFont(font)
        self.edit_connect.setLineWidth(1)
        self.edit_connect.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.edit_connect.setTabChangesFocus(False)
        self.edit_connect.setUndoRedoEnabled(True)
        self.edit_connect.setLineWrapMode(QtGui.QTextEdit.WidgetWidth)
        self.edit_connect.setAcceptRichText(False)
        self.edit_connect.setObjectName(_fromUtf8("edit_connect"))
        self.gridLayout.addWidget(self.edit_connect, 2, 0, 1, 4)

        self.retranslateUi(tcptab)
        QtCore.QMetaObject.connectSlotsByName(tcptab)

    def retranslateUi(self, tcptab):
        tcptab.setWindowTitle(QtGui.QApplication.translate("tcptab", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_new.setText(QtGui.QApplication.translate("tcptab", "新建", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_send.setText(QtGui.QApplication.translate("tcptab", "发送", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_connect.setText(QtGui.QApplication.translate("tcptab", "连接", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_giveup.setText(QtGui.QApplication.translate("tcptab", "弃牌", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_follow.setText(QtGui.QApplication.translate("tcptab", "跟注", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_add.setText(QtGui.QApplication.translate("tcptab", "加注", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_check.setText(QtGui.QApplication.translate("tcptab", "看牌", None, QtGui.QApplication.UnicodeUTF8))

